@import './util.less';

body{
    padding-top: 85px;
}
//头部部分样式
.header{
    height: 44px;
    background: #fe4a65;
    padding: 8px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 12;
    display: block;
    box-sizing: border-box;
    display: flex;
    .title{
        // float: left;
        color: #ffffff;
        line-height: 28px;
        font-weight: bold; 
        width: 48px; 
    }
    form{
        // float: left;
        flex: 1;
        padding: 0px 10px;
        height: 28px;
        position: relative;
        >input{
            width: 100%;
            height: 100%;
            border-radius: 5px;
            padding-left: 10px;
            box-sizing: border-box;
        }
        .fa-search{
            position: absolute;
            right: 15px;
            top: 7px;
            color: #ccc;
        }
    }
    .download{
        >img{
            // float: right;
            width: 34px;
        }
    }
}

//导航栏部分样式
#nav{
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    overflow: auto;
    ul{
        height: 40px;
        width: 780px;
        position: relative;
        background-color: #ffffff;
        li{
            float: left;
            a{
                color: black;
                padding: 3px 10px;
                display: inline-block;
                height: 38px;
                line-height: 32px;
            }
            &.active{
                border-bottom: 2px solid red;
                >a{
                    color: red;
                }
            }
        }
    }
}
//隐藏滚动条
::-webkit-scrollbar {   
     width: 0px;
}

//主体部分样式
.main{
    // height: 1100px;
    // width: 100%;
    ul{
        li{
            background-color: #ffffff;
            border-bottom: 1px solid #e7e7e7;
            padding: 10px;           
                .pic{
                    float: left;
                    margin-right: 10px;
                    img{
                        height: 160px;
                        width: 150px;
                    }
                }
                .info{
                    font-size: 14px;
                    line-height: 24px;
                    .tit{
                        color: black;
                        line-height: 22px;
                        min-height: 44px;
                        word-break: break-all;
                        .b{
                            font-weight: bold;
                        }
                    }
                    .price{
                        height: 25px;
                        margin-top: 2px;
                        color: red;
                        font-size: 16px;
                        em{
                           font-size: 12px;
                        }
                        del{
                            color: #ccc;
                            font-size: 12px;
                            margin-left: 10px;
                        }
                    }
                    .ticket{
                        margin-top: 5px;
                        .bar{
                            height: 20px;
                            i{
                                position: relative;
                                display: inline-block;
                                width: 100px;
                                height: 14px;
                                border-radius: 7px;
                                border: 1px solid red;
                                background-color: orchid;
                                overflow: hidden;
                                em{
                                    position: absolute;
                                    display: inline-block;
                                    // width: 75px;
                                    height: 14px;
                                    border-radius: 7px;
                                    background-color: red;
                                }
                                span{
                                    position: absolute;
                                    left: 38%;
                                    top: -4px;
                                    color: white;
                                    font-weight: bold;
                                }
                            }
                            b{
                                margin-left:1%;
                                color: red;
                            }
                        }
                    }
                    .other{
                        margin-top: 10px;
                        font-size: 12px;
                        .quan{
                            a{
                                border: 1px dashed red;
                                display: inline-block;
                                padding: 4px;
                                color: red;
                            }
                        }
                        .lianjie{
                            a{
                                float: right;
                                display: inline-block;
                                text-align: center;
                                background-color: tomato;
                                color: white;
                                width: 75px;
                                height: 34px;
                                line-height: 34px;
                                border-radius: 5px;
                            }
                        }   
                    }
                }
            }
        }
    }

#footer .foot_top {
    margin-top: 0px;
}

.totop{
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    position: fixed;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    a{
        .fa-angle-up{
            font-size: 30px;
            color: white;
        }
    }
    
}
